package com.snu.liwei.lyl_api.entity;


import java.util.Date;


/**
 * 图片缩略图实体类
 */

public class Litimg {
    // CREATE TABLE `litimg` (
    //         `id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '图片id',
    //         `g_id` varchar(20) DEFAULT NULL COMMENT '基因id',
    //         `c_id` varchar(20) DEFAULT NULL COMMENT 'caseId',
    //         `save_time` datetime DEFAULT NULL COMMENT '保存时间'
    //         ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='缩略图';
    private Integer id;
    private String gId;
    private String cId;
    private String path;
    private Date saveTime;

    public Litimg() {
    }

    public Litimg(Integer id, String gId, String cId, String path, Date saveTime) {
        this.id = id;
        this.gId = gId;
        this.cId = cId;
        this.path = path;
        this.saveTime = saveTime;
    }

    public Integer getId() {
        return id;
    }

    public Litimg setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getGId() {
        return gId;
    }

    public Litimg setGId(String gId) {
        this.gId = gId;
        return this;
    }

    public String getCId() {
        return cId;
    }

    public Litimg setCId(String cId) {
        this.cId = cId;
        return this;
    }

    public String getPath() {
        return path;
    }

    public Litimg setPath(String path) {
        this.path = path;
        return this;
    }

    public Date getSaveTime() {
        return saveTime;
    }

    public Litimg setSaveTime(Date saveTime) {
        this.saveTime = saveTime;
        return this;
    }
}
